package com.hi.hiparty.util;

import java.util.HashMap;
import java.util.Map;

import android.app.Application;


public class HipartyApplication extends Application{
	public static Map<String,PictureHandler> mHandlers= new HashMap<String,PictureHandler>();
	//用作参数传递管道，设想用于ui单例响应，传递参数和结果，多线程环境可以考虑生成唯一key来解决。
	public static Map<Object,Object> pipleMaps = new HashMap<Object,Object>();
	static {
		FileUtils.init();
	}
	public static void put(Object key,Object obj){
		pipleMaps.put(key, obj);
	}
	public static Object get(Object key){
		return pipleMaps.remove(key);
	}
}
